package com.hd.trans.db.bean;

import com.hd.trans.db.DataBaseMgr;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * AI聊天记录
 */
@Entity
public class AiChatRecord {
    @Id(autoincrement = true)
    private long id;

    @Property(nameInDb = "data_type")
    private int dataType;//数据类型 0 问题 1 回答

    @Property(nameInDb = "create_time")
    private long createTime;//创建时间

    @Property(nameInDb = "content")
    private String content;//对话内容

    @Property(nameInDb = "status")
    private String status;//状态 0 处理失败 1 处理成功

    @Property(nameInDb = "head_url")
    private String headUrl;//头像

    @Property(nameInDb = "obligate")
    private String obligate;//预留字段-用作情景scene

    @Generated(hash = 1616498905)
    public AiChatRecord(long id, int dataType, long createTime, String content,
                        String status, String headUrl, String obligate) {
        this.id = id;
        this.dataType = dataType;
        this.createTime = createTime;
        this.content = content;
        this.status = status;
        this.headUrl = headUrl;
        this.obligate = obligate;
    }

    @Generated(hash = 619936260)
    public AiChatRecord() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getDataType() {
        return this.dataType;
    }

    public void setDataType(int dataType) {
        this.dataType = dataType;
    }

    public long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStatus() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getHeadUrl() {
        return this.headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getObligate() {
        return this.obligate;
    }

    public void setObligate(String obligate) {
        this.obligate = obligate;
    }

}
